import 'dart:convert';
import 'dart:typed_data';
import 'package:pointycastle/pointycastle.dart';

class Md5Utils {

  static String encode(String content) {
    final md5 = Digest('MD5');
    Uint8List output = md5.process(utf8.encode(content));
    var base64EncodedText = base64UrlEncode(output);
    return base64EncodedText;
  }
}